package jpademo;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.boot.autoconfigure.orm.jpa.HibernateJpaAutoConfiguration;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.context.ConfigurableApplicationContext;

@SpringBootApplication//(exclude={DataSourceAutoConfiguration.class})
public class App 
{
	public static void main( String[] args )
    {
		ConfigurableApplicationContext context = new SpringApplicationBuilder(
				App.class)		
		        .properties(
				"spring.config.location=classpath:/application.yml")
				.properties("spring.profiles.active=QA").run(args);
    }
}
